﻿using My.Domain.Shared.Issues.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus;

namespace My.Application.Issues
{
    public class CloseIssueEvent : ILocalEventHandler<IssueCloseEvent>, ITransientDependency
    {
        public Task HandleEventAsync(IssueCloseEvent eventData)
        {
            Console.WriteLine($"问题{eventData.IssueId}被关闭");
            return Task.CompletedTask;
        }
    }
}
